Skip to content

Release v0.8.5#39

Merged
albertomandlate merged 7 commits intomainfrom
release-v0.8.5
May 22, 2025
Merged

Release v0.8.5#39
albertomandlate merged 7 commits intomainfrom
release-v0.8.5

Conversation

@albertomandlate
Copy link
Copy Markdown
Contributor

This pull request includes localization updates to the CodeQL workflow file and a minor adjustment to XML writer settings in the Mozambique SAF-T generator. Below is a summary of the most important changes:

Localization updates in .github/workflows/codeql.yml:

  • Updated job names to Portuguese, including "Analisar (${{ matrix.language }})", "Inicializar o CodeQL", and "Fazendo analises com o CodeQL". These changes improve consistency for Portuguese-speaking users. [1] [2] [3]

XML writer settings adjustment in MozambiqueSaftGenerator.cs:

  • Changed the Indent property in XmlWriterSettings from true to false, likely to reduce the size of the generated XML files.

Mudou a propriedade `Indent` de `true` para `false` na configuração do `XmlWriterSettings`. Isso resulta em uma saída XML mais compacta, sem indentação.
Alterar configuração de indentação do XML
@albertomandlate albertomandlate requested a review from Copilot May 22, 2025 17:35
@albertomandlate albertomandlate self-assigned this May 22, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Implements localization for CodeQL workflow steps in Portuguese and disables XML indentation in the SAF-T Mozambique generator to streamline output size.

  • Localized CodeQL job and step names to Portuguese for consistency.
  • Changed XmlWriterSettings.Indent from true to false to produce compact XML.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/SAF-T.Mozambique/Generators/MozambiqueSaftGenerator.cs Disabled XML indentation in XmlWriterSettings
.github/workflows/codeql.yml Translated job and step name fields to Portuguese

exit 1

- name: Perform CodeQL Analysis
- name: Fazendo analises com o CodeQL
Copy link

Copilot AI May 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Portuguese word "analises" is missing an accent; consider changing to "Fazendo análises com o CodeQL".

Suggested change
- name: Fazendo analises com o CodeQL
- name: Fazendo análises com o CodeQL

Copilot uses AI. Check for mistakes.
XmlWriterSettings settings = new()
{
Indent = true,
Indent = false,
Copy link

Copilot AI May 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Consider making the indentation setting configurable or at least adding a comment explaining why indentation is disabled to improve future maintainability.

Copilot uses AI. Check for mistakes.
@albertomandlate albertomandlate merged commit 7fdfd87 into main May 22, 2025
6 checks passed
@albertomandlate albertomandlate deleted the release-v0.8.5 branch May 22, 2025 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants